set JBOSS_HOME=D:\DEVEL\jboss\jboss-6.0.0.20101110-CR1
set EAR_NAME=DataModelling.ear

del /q /s %JBOSS_HOME%\server\default\deploy\%EAR_NAME%
call mvn clean
call mvn install -DskipTests=true
copy ear\target\%EAR_NAME%  D:\DEVEL\jboss\jboss-6.0.0.20101110-CR1\server\default\deploy\%EAR_NAME%